import { IGloablDvaState } from "./global"

export { IGloablDvaState } from "./global"

export interface IDvaState<T> {
    namespace: string;
    state: T;
    reducers: Record<string, (state: T, props: { type: string, payload: any }) => T>
}

export interface IDvaModels {
    global: IGloablDvaState
}